#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Core;
using Cephei.Core.Generic;
using Microsoft.FSharp.Core;
namespace Cephei.QL.Times
{
    /// <summary> 
	/// ! This class provides a Period (length + TimeUnit) class and implements a limited algebra.  \ingroup datetime  \test self-consistency of algebra is checked.
	/// </summary>
    [Guid ("2D92537D-47DE-4857-884A-CFF0C6AC02F8"),ComVisible(true)]
	public interface IPeriod 
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        /// <summary> 
		/// 
		/// </summary>
		 QL.Times.FrequencyEnum Frequency {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Int32 Length {get;}
        /// <summary> 
		/// 
		/// </summary>
		 IPeriod Normalize {get;}
        /// <summary> 
		/// 
		/// </summary>
		 QL.Times.TimeUnitEnum Units {get;}
    }   

    /// <summary> 
	/// ! This class provides a Period (length + TimeUnit) class and implements a limited algebra.  \ingroup datetime  \test self-consistency of algebra is checked. Factory
	/// </summary>
   	[ComVisible(true)]
    public interface IPeriod_Factory : INativeCollection_Factory<IPeriod>
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
        /// <summary>
        /// Create a hybrid Vector of IPeriod, with event notification of changes
        /// </summary>
        /// <returns>a new Vector&ltIPeriod&gt</returns>
        IVector<IPeriod> CreateVector();
        /// <summary>
        /// Create a hybrid Vector of ICell of IPeriod, with event notification of changes
        /// </summary>
        /// <returns>a new ICell&ltIVector&ltI&ltIPeriod&gt&gt&gt</returns>
        ICoCell<IVector<ICoCell<IPeriod>>> CreateCellVector();
        IVector<IPeriod> CreateVector (IEnumerable<IPeriod> source);
        ICoCell<IVector<ICoCell<IPeriod>>> CreateCellVector (IEnumerable<ICoCell<IPeriod>> source);
        /// <summary> 
		/// 
		/// </summary>
	    IPeriod Create (QL.Times.FrequencyEnum f);
        /// <summary> 
		/// 
		/// </summary>
	    IPeriod Create (Int32 n, QL.Times.TimeUnitEnum units);
        /// <summary> 
		/// 
		/// </summary>
	    IPeriod Create ();
    }
}

